home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c
- Subject: Re: malloc woes with watcom C
- Date: 1 Jan 1996 12:06:28 GMT
- Organization: Kalevi, Inc
- Message-ID: <4c8io4$3tq@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe5.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Dec 31, 1995 14:47:50 in article <malloc woes with watcom C>, 'Elliott
- Noel <jnoel@public.compusult.nf.ca>' wrote:
-
-
- >
- >My problem is that my program generates an exception and crashes during
- >legitimate calls to malloc(). It always seems to happen after a few
- >calls have already been made, and I can't localize the problem, just that
-
- >it occurs within the code for the malloc() function.
- >
-
- The probability is about 0.99 that you have corrupted memory by
- 1. writing beyond the limits of an allocated block
- 2. freeing the same block more than once.
-
- The sad part: finding the bug will not be easy. The offending code may
- be far away from the place where it finally crashes.
- --
-
- Pete
-
-
-
-
-
-